This short hack will enable editing functions directly from the front page, without having to go to the news itself to edit it.

This also works for a myriad of other displays like for example lists, events, etc.

So here we go.

Open up plugins/news/news.php and find the following:

Code:
list($pag['page_ratings'], $pag['page_ratings_display']) = sed_build_ratings($item_code, $pag['page_pageurl'], FALSE);


After this line add the following:

Code:
if ($usr['isadmin']) { $lombi_news_edit_hack = "&nbsp;<a href=\"page.php?m=edit&id=10".$row['page_id']."&r=list\">".$L['Edit']."</a>"; } else { $lombi_news_edit_hack = " "; }


Then go a few lines down and add the following new tag:

Code:
"PAGE_ROW_EDIT" => $lombi_news_edit_hack,


Upload and open news.tpl in your skin file.

Put {PAGE_ROW_EDIT} anywhere in the news posting. I for example have put it after the date.

Happy seditio streamlining!